const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    headers:{
      "Access-Control-Allow-Origin": "*", // 开启应用间的跨域访问
      // "Access-Control-Allow-Credentials": true,
      // "Access-Control-Allow-Headers": "X-Requested-With,Content-Type",
      // "Access-Control-Allow-Methods": "PUT,POST,GET,DELETE,OPTIONS",
      // "Content-Type": "application/json; charset=utf-8",
    }
  }
})
